package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.SaleData;
import com.atguigu.jxc.entity.SaleList;
import com.atguigu.jxc.entity.SaleListGoods;

import java.util.List;

public interface SaleListDao {

    void insertSaleList(SaleList saleList);

    List<SaleList> findSaleListGoods(String saleNumber, Integer customerId, Integer state, String sTime, String eTime);

    List<SaleListGoods> findGoodsList(Integer saleListId);

    void deleteSaliListById(Integer saleListId);

    void updateState(Integer saleListId);

    List count(String sTime, String eTime, Integer goodsTypeId, String codeOrName);


    List<SaleData> getSaleDateByDay(String sTime, String eTime);

    List<SaleData> getSaleDataByMonth(String sTime, String eTime);
}
